]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Adapt to renamed Clutter threading functions
authorBilal Elmoussaoui <belmouss@redhat.com>
Sat, 12 Oct 2024 11:11:09 +0000 (13:11 +0200)
committerBilal Elmoussaoui <belmouss@redhat.com>
Wed, 30 Oct 2024 07:38:41 +0000 (08:38 +0100)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3501>

js/misc/systemActions.js
src/shell-global.c

index db08b5468161e73a740319a934557c0c15080ca5..99c9173bee6b2545708e1b77cc67053895035dfa 100644 (file)
@@ -430,7 +430,7 @@ const SystemActions = GObject.registerClass({
         if (Main.screenShield)
             Main.screenShield.lock(false);
 
-        Clutter.threads_add_repaint_func_full(Clutter.RepaintFlags.POST_PAINT, () => {
+        Clutter.threads_add_repaint_func(Clutter.RepaintFlags.POST_PAINT, () => {
             Gdm.goto_login_session_sync(null);
             return false;
         });
index 7e6f7d525a708047b566027893b8ed85c19b3e60..617f4e3d1f8aa3f5fa4a1d9371c79942f063e104 100644 (file)
@@ -1008,16 +1008,16 @@ _shell_global_set_plugin (ShellGlobal *global,
   g_signal_connect (global->stage, "notify::height",
                     G_CALLBACK (global_stage_notify_height), global);
 
-  clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_PRE_PAINT,
-                                         global_stage_before_paint,
-                                         global, NULL);
+  clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_PRE_PAINT,
+                                    global_stage_before_paint,
+                                    global, NULL);
 
   g_signal_connect (global->stage, "after-paint",
                     G_CALLBACK (global_stage_after_paint), global);
 
-  clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_POST_PAINT,
-                                         global_stage_after_swap,
-                                         global, NULL);
+  clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_POST_PAINT,
+                                    global_stage_after_swap,
+                                    global, NULL);
 
   shell_perf_log_define_event (shell_perf_log_get_default(),
                                "clutter.stagePaintStart",